﻿using LD.BC;
using LD.Host;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LD.Tool
{
    public class ToolIfParam
    {
        /// <summary>
        /// 判定类型
        /// </summary>
        public ToolIfMode ToolIfMode { get; set; }

        /// <summary>
        /// IO类型
        /// </summary>
        public IoType? IoType { get; set; }

        /// <summary>
        /// IO点位
        /// </summary>
        public string IoName { get; set; }

        /// <summary>
        /// 有效类型
        /// </summary>
        public LevelType? LowHig { get; set; }

        /// <summary>
        /// 全局变量
        /// </summary>
        public string Variable { get; set; }
        /// <summary>
        /// 判定符
        /// </summary>
        public OpChar? OpChar { get; set; }
        /// <summary>
        /// 判定值
        /// </summary>
        public string OpVar { get; set; }
        /// <summary>
        /// 流程名称
        /// </summary>
        public string FlowName { get; set; }
        /// <summary>
        /// 是否等待执行结束
        /// </summary>
        public bool IsWaitOver { get; set; }
    }
}
